<!doctype html>
<html>
{include file="head.html"}

<body>
  <script src="{$skins}js/jquery.blocksit.min.js"></script>
<div class="fullscreen">
  <div class="scroll_content">
    <div class="topfixed">
      <div class="t_left"><a href="index.php" class="goBack"><i class="back"></i></a></div>
      <div class="t_main">创业项目</div>
      <div class="t_right"><a href="/index.php?m=cyitem&a=add" class="link">发布项目</a></div>
    </div>
    <div class="paddingheight"></div>
    <div class="flexslider">
       {get data=ad1 model=ad fun=listbyno("wap_cyitem_flash")}
          <ul class="slides clearfix">
          {foreach item=c from=$ad1}
            <li><a href="{$c.link1}"><img class="img" src="{$c.imgurl|images_site}"></a> </li>
          {/foreach}  
           
          </ul>
    </div>
    <script>
	//banner
	$(".flexslider").flexslider();
</script>
    <ul class="project_tabs clearfix">
      <li><a href="/index.php?m=cyitem" {if !get('s_status')}class="cur"{/if}>正在邀请</a></li>
      <li><a href="/index.php?m=cyitem&s_status=2" {if get('s_status') eq 2} class="cur"{/if}>成功项目</a></li>
      <li><a href="/index.php?m=cyitem&s_status=3" {if get('s_status') eq 3} class="cur"{/if}>往期项目</a></li>
    </ul>
    <div class="project_list">
      <ul>
      {foreach item=c from=$list}
        <li class="grid">
          <p><a href="/index.php?m=show&id={$c.id}"><img src="{$c.imgurl|images_site}.small.jpg" class="img"></a></p>
         
          <p class="info"><span class="tips">介绍：</span>{$c.description}</p>
          <p class="operate clearfix"><span class="fl cur"><a href="/index.php?m=show&id={$c.id}"><i
                                        class="zan"></i>赞{$c.love_num}</a></span>
                            <span class="fr"><a href="/index.php?m=show&id={$c.id}" class="btn">{if !get('s_status')}我要加入{else}查看项目{/if}</a></span></p>
         
        </li>
      {/foreach}  
      </ul>
    </div>
    <script>
	
	$(function () {
		
//瀑布流
	$('.project_list ul').BlocksIt({ numOfCol: 2, offsetX: 2, offsetY: 2, blockElement: "li" });
	});
	</script> 
  </div>
</div>
 {include file="botnav.html"}
 <div style="clear:both;width:100%;"></div>
 {include file="footer.html"} 
</body>
</html>
